package model

import "time"

type Category struct {
	ID uint `json:"id" gorm:"primary_key" `
	Name string `json:"name" gorm:"varchar(50);not null;unique" `
	CreatedAt time.Time `json:"created_at" gorm:"type:timestamp"`
	UpdatedAt time.Time `json:"updated_at" gorm:"type:timestamp"`
}
